﻿<%@ WebHandler Language="C#" Class="newSpecial" %>

using System;
using System.Web;

public class newSpecial : IHttpHandler {

    public void ProcessRequest (HttpContext context) {
        string guid = Guid.NewGuid().ToString("N");
        string name = context.Request.Params["name"].ToString() == null ? "" : context.Request.Params["name"].ToString();
        string type = context.Request.Params["type"].ToString() == null ? "" : context.Request.Params["type"].ToString();
        string time = context.Request.Params["time"].ToString() == null ? "" : context.Request.Params["time"].ToString();
        string lat = context.Request.Params["lat"].ToString() == null ? "" : context.Request.Params["lat"].ToString();
        string lon = context.Request.Params["lon"].ToString() == null ? "" : context.Request.Params["lon"].ToString();
        string remark = context.Request.Params["remark"].ToString() == null ? "" : context.Request.Params["remark"].ToString();
        
        

        
        context.Response.ContentType = "text/plain";
        context.Response.Write("Hello World");
    }

    public bool IsReusable {
        get {
            return false;
        }
    }

}